package com.hospital.pet.love.lovepethospital.dto.drug;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author RoselleShaw
 * @create 2024-05-10 14:07
 */
@Schema(description = "录入药品信息 Dto")
@Data
public class AddDrugDto {

    @Schema(description = "药品名", requiredMode = Schema.RequiredMode.REQUIRED)
    private String drugName;
    @Schema(description = "药品数量", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer drugQuantity;
    @Schema(description = "批号", requiredMode = Schema.RequiredMode.REQUIRED)
    private String batchNumber;
    @Schema(description = "有效期", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime expirationDate;
    @Schema(description = "规格", requiredMode = Schema.RequiredMode.REQUIRED)
    private String specification;
    @Schema(description = "生产厂家", requiredMode = Schema.RequiredMode.REQUIRED)
    private String manufacturer;
    @Schema(description = "药品单价", requiredMode = Schema.RequiredMode.REQUIRED)
    private BigDecimal drugPrice;

}
